package com.yunshang.shoppingmall.service.impl;

import com.yunshang.shoppingmall.entity.UserRole;
import com.yunshang.shoppingmall.mapper.UserRoleMapper;
import com.yunshang.shoppingmall.service.UserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("userRoleService")
public class UserRoleServiceImpl implements UserRoleService {
    @Autowired
    UserRoleMapper userRoleMapper;

    @Override
    public int deleteByPrimaryKey(Integer urId) {
        return 0;
    }

    @Override
    public int insert(UserRole record) {
        return 0;
    }

    @Override
    public int insertSelective(UserRole record) {
        return 0;
    }

    @Override
    public UserRole selectByPrimaryKey(Integer urId) {
        return userRoleMapper.selectByPrimaryKey(urId);
    }

    @Override
    public int updateByPrimaryKeySelective(UserRole record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(UserRole record) {
        return 0;
    }

    @Override
    public List<UserRole> selectUserRoleByUserId(int userId) {
        return null;
    }

    @Override
    public List<UserRole> selectUserRole() {
        return null;
    }


}
